<?php

namespace App\V3\Api\Services;
use App\V3\Api\Models\ReceiptModel;
class ReceiptService
{

    static public function add($data){
    
        return ReceiptModel::add($data);
    }
    
    static public function update($condition,$data){
    
        return ReceiptModel::upd($condition,$data);
    }
    static public function delete($condition){
        return ReceiptModel::del($condition);
    }
    static public function getReceiptInfo($condition){
    
        return ReceiptModel::getReceiptInfo($condition);
    }
    
    static public function getList($condition,$dispatch_id_arr,$pageSize,$pageNo){
         
        return ReceiptModel::getList($condition,$dispatch_id_arr,$pageSize,$pageNo);
    }
}
